package cn.bdqn.hospital.entity;

public class Drug {
    private Integer drugId;//药品id
    private String drugName;//药品名称
    private Integer drugClassId;//药品分类id
    private Integer drugPrice;//药品价格
    private Integer drugMount;//库存

    public Drug() {
    }

    public Drug(Integer drugId, String drugName, Integer drugClassId, Integer drugPrice, Integer drugMount) {
        this.drugId = drugId;
        this.drugName = drugName;
        this.drugClassId = drugClassId;
        this.drugPrice = drugPrice;
        this.drugMount = drugMount;
    }

    public Integer getDrugId() {
        return drugId;
    }

    public void setDrugId(Integer drugId) {
        this.drugId = drugId;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public Integer getDrugClassId() {
        return drugClassId;
    }

    public void setDrugClassId(Integer drugClassId) {
        this.drugClassId = drugClassId;
    }

    public Integer getDrugPrice() {
        return drugPrice;
    }

    public void setDrugPrice(Integer drugPrice) {
        this.drugPrice = drugPrice;
    }

    public Integer getDrugMount() {
        return drugMount;
    }

    public void setDrugMount(Integer drugMount) {
        this.drugMount = drugMount;
    }

    @Override
    public String toString() {
        return "Drug{" +
                "drugId=" + drugId +
                ", drugName='" + drugName + '\'' +
                ", drugClassId=" + drugClassId +
                ", drugPrice=" + drugPrice +
                ", drugMount=" + drugMount +
                '}';
    }
}
